package com.bsj.power.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bsj.power.common.def.entity.personGroup.PersonGroupPath;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author LiJiaXin
 * @version 1.0.0
 * @description PersonGroupPathMapper
 * @time 2024/9/15 15:38
 */
public interface PersonGroupPathMapper extends BaseMapper<PersonGroupPath> {

    /**
     * 批量添加人员组与围栏的关系
     *
     * @param personGroupPaths
     * @return java.lang.Integer
     * @author ljx
     * @time 2024/9/15 15:48
     */
    Integer batchAdd(@Param("personGroupPaths") List<PersonGroupPath> personGroupPaths);

}
